package com.yuandian.customer.perception.service;

import com.yuandian.api.customer_perception.po.BusinessPerformanceParams;
import com.yuandian.bpm.common.core.util.R;

import javax.servlet.http.HttpServletResponse;

/**
 * 说明：业务性能指标service接口
 * @Author yanjun
 * @Date 2021/12/20 10:25
 */
public interface IBusinessPerformanceService {

    /**
     * 查询业务性能指标列表过滤项
     * @param params 业务性能指标查询参数对象
     * @return 通用返回对象
     */
    R queryBusinessPerformanceOptions(BusinessPerformanceParams params);

    /**
     * 查询业务性能指标列表
     * @param params 业务性能指标查询参数对象
     * @return 通用返回对象
     */
    R queryBusinessPerformanceList(BusinessPerformanceParams params);

    /**
     * 下载业务性能指标列表
     * @param params 业务性能指标查询参数对象
     * @param response 响应上下文
     */
    void exportBusinessPerformanceList(BusinessPerformanceParams params, HttpServletResponse response);

    /**
     * 查询用户操作行为列表
     * @param params 业务性能指标查询参数对象
     * @return 统一返回对象
     */
    R queryOperatorBehaviorList(BusinessPerformanceParams params);

    /**
     * 查询业务功能图表信息
     * @param params 业务性能指标查询参数对象
     * @return 统一返回对象
     */
    R queryBusinessFunctionChartData(BusinessPerformanceParams params);
}
